
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">

    <title>无花果</title>
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link href="/public/css/bootstrap/bootstrap.min.css" rel="stylesheet" id="bootstrap-css">
    <!--Font Awesome-->
	<link rel="stylesheet" href="/public/css/font-awesome/font-awesome.min.css">
	<link rel="stylesheet" media="screen" href='public/css/boxlist.css?ver=2'>
    <script type="text/javascript" src="/public/js/jquery-1.10.2.min.js"></script>
    <script src="/public/js/bootstrap/bootstrap.min.js" type="text/javascript"></script>
    	<!-- http://lazcreative.com/blog/adding-swipe-support-to-bootstrap-carousel-3-0/ -->
    <link rel="stylesheet" href="/public/css/jquery.mobile-1.0.min.css" />
    
    <script src="http://res.wx.qq.com/open/js/jweixin-1.2.0.js" type="text/javascript"></script>

   
    <link rel="stylesheet" href="/public/css/wx/nav.css?ver=11">

	<script src="/public/js/jquery.mobile.min.js" type="text/javascript"></script>
	<script src="/public/js/wx/order.js?ver=5" type="text/javascript"></script>
</head>
<body>
	<nav class="navbar navbar-fixed-top" role="navigation">
	  <!-- Collect the nav links, forms, and other content for toggling -->
	    <ul class="nav navbar-nav">
		<li id="custom-search-input">
            <div class="input-group col-xs-12">
                <h3 class="text-center" style="margin-top: 0;">当前订单</h3>
            </div>
        </li>
        </ul>
	</nav>
    <div class="whitediv"></div>

    <div class="container">

        <!-- 商品列表 -->

        <div class="row">
            <!-- check box -->
            <table class="table table-filter">
                <tbody>
                {{range .items}}
                        <tr data-status="pagado">
                            <td style="width: 4.1%; width:50px;">
                                <div>
                                    <label class="checkbox-inline checkbox-bootstrap checkbox-lg ">
                                        <input class="itemcheckbox" type="checkbox" checked>
                                        <span class="checkbox-placeholder"></span>
                                    </label>    
                                </div>
                            </td>
                            <td>
                                    <a href="#" class="imgintable">
                                        <img src="{{.GetImtem.GetSmImage}}" class="media-photo" width="50px" height="50px">
                                    </a>
                            </td>
                            <td>
                                <div>
                                    <div>
                                        <div>
                                           <h4 class="carttitle">
                                                {{.GetImtem.Name}}
                                            </h4> 
                                        </div>
                                        <div>
                                            <div style="width: 40.33333333%;" class="cartcol">
                                                 <p class="summary"> ¥ <code class="price">{{.GetImtem.Price}}</code></p>
                                            </div>
                                            <div style="width: 58.33333333%;" class="cartcol">
                                                <button type="button" class="btn btn-info btn-circle item-minus"><i class="glyphicon glyphicon-minus"></i></button>
                                                <label  class="control-label itemnum">{{.Num}}</label>
                                                <button type="button" class="btn btn-danger btn-circle item-plus"><i class="glyphicon glyphicon-plus"></i></button>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </td>
                        </tr>
                    {{end}}
                </tbody>
            </table>
        </div>

        <div class="row">
            <!-- checkbox -->
            <!-- <div class="col-xs-1">
                <label class="checkbox-inline checkbox-bootstrap checkbox-lg">
                    <input  type="checkbox" id="buyall">
                    <span class="checkbox-placeholder"></span>
                </label>    
            </div>
            <div class="col-xs-2"><strong class="lead">全选</strong></div> -->
            <div class="col-xs-4 col-xs-offset-3 text-center" >
                <p class="lead">共：¥<strong style="color: #c00;" id="cartsum">{{.cost}}</strong></p>
            </div>
            <button class="col-xs-4 col-xs-offset-1 text-center" id="bt-pay-order" style="background-color: rgba(203, 232, 85, 0.96);"><p class="lead">支付</p></button>
        </div>
    </div>

    <div class="whitediv"></div>

	{{template "wxapp/nav.html" .}}
</body>
</html>
